﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ParticipantDataSet" targetNamespace="http://tempuri.org/ParticipantDataSet.xsd" xmlns:mstns="http://tempuri.org/ParticipantDataSet.xsd" xmlns="http://tempuri.org/ParticipantDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="templateConnectionString2" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="templateConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Big3.Hitbase.DataBaseEngine.Properties.Settings.GlobalReference.Default.templateConnectionString2" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ParticipantTableAdapter" GeneratorDataComponentClassName="ParticipantTableAdapter" Name="Participant" UserDataComponentName="ParticipantTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="templateConnectionString2 (Settings)" DbObjectName="Participant" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Participant] WHERE (([ParticipantID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParticipantID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Participant] ([PersonGroupID], [RoleID], [CDID], [TrackNumber], [Comment]) VALUES (@p1, @p2, @p3, @p4, @p5)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CDID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TrackNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [ParticipantID], [PersonGroupID], [RoleID], [CDID], [TrackNumber], [Comment] FROM [Participant]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Participant] SET [PersonGroupID] = @p1, [RoleID] = @p2, [CDID] = @p3, [TrackNumber] = @p4, [Comment] = @p5 WHERE (([ParticipantID] = @p6))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CDID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TrackNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParticipantID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ParticipantID" DataSetColumn="ParticipantID" />
              <Mapping SourceColumn="PersonGroupID" DataSetColumn="PersonGroupID" />
              <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
              <Mapping SourceColumn="CDID" DataSetColumn="CDID" />
              <Mapping SourceColumn="TrackNumber" DataSetColumn="TrackNumber" />
              <Mapping SourceColumn="Comment" DataSetColumn="Comment" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="templateConnectionString2 (Settings)" DbObjectName="Participant" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCdId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCdId" GeneratorSourceName="FillByCdId" GetMethodModifier="Public" GetMethodName="GetDataByCdId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCdId" UserSourceName="FillByCdId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [ParticipantID], [PersonGroupID], [RoleID], [CDID], [TrackNumber], [Comment] FROM [Participant] WHERE CDID=?</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Param1" ColumnName="CDID" DataSourceName="Participant" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Param1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CDID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ParticipantDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="ParticipantDataSet" msprop:Generator_DataSetName="ParticipantDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Participant" msprop:Generator_UserTableName="Participant" msprop:Generator_RowDeletedName="ParticipantRowDeleted" msprop:Generator_RowChangedName="ParticipantRowChanged" msprop:Generator_RowClassName="ParticipantRow" msprop:Generator_RowChangingName="ParticipantRowChanging" msprop:Generator_RowEvArgName="ParticipantRowChangeEvent" msprop:Generator_RowEvHandlerName="ParticipantRowChangeEventHandler" msprop:Generator_TableClassName="ParticipantDataTable" msprop:Generator_TableVarName="tableParticipant" msprop:Generator_RowDeletingName="ParticipantRowDeleting" msprop:Generator_TablePropName="Participant">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ParticipantID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ParticipantID" msprop:Generator_ColumnVarNameInTable="columnParticipantID" msprop:Generator_ColumnPropNameInRow="ParticipantID" msprop:Generator_ColumnPropNameInTable="ParticipantIDColumn" type="xs:int" />
              <xs:element name="PersonGroupID" msprop:Generator_UserColumnName="PersonGroupID" msprop:Generator_ColumnVarNameInTable="columnPersonGroupID" msprop:Generator_ColumnPropNameInRow="PersonGroupID" msprop:Generator_ColumnPropNameInTable="PersonGroupIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="RoleID" msprop:Generator_UserColumnName="RoleID" msprop:Generator_ColumnVarNameInTable="columnRoleID" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CDID" msprop:Generator_UserColumnName="CDID" msprop:Generator_ColumnVarNameInTable="columnCDID" msprop:Generator_ColumnPropNameInRow="CDID" msprop:Generator_ColumnPropNameInTable="CDIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TrackNumber" msprop:Generator_UserColumnName="TrackNumber" msprop:Generator_ColumnVarNameInTable="columnTrackNumber" msprop:Generator_ColumnPropNameInRow="TrackNumber" msprop:Generator_ColumnPropNameInTable="TrackNumberColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Comment" msprop:Generator_UserColumnName="Comment" msprop:Generator_ColumnVarNameInTable="columnComment" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Comment" msprop:Generator_ColumnPropNameInTable="CommentColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870911" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Participant" />
      <xs:field xpath="mstns:ParticipantID" />
    </xs:unique>
  </xs:element>
</xs:schema>